home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Art⁄Graphics / PvRay05d1 Folder / PvRayMac < prev    next >
Encoding:
Text File  |  1992-05-24  |  6.5 KB  |  108 lines  |  [TEXT/ttxt]

  1. -- Welcome to PvRay!
  2.  
  3. PvRay is sort of a "group" project involved in a portable ray-tracer. The core code is written in ANSI C, with "hooks" to machine specific code layered on top of it. This is the Macintosh version, which is actually _two_ seperate ports. One is the ray-tracer itself (very little modification... only some micro-bugs), and the old DKBTrace front end written by Thomas Okken. All of this information doesn't really mean much unless you are planning to (or have) acquired the source code and the Macintosh specifics code.
  4. The documentation that comes with the Mac-Specs explains a lot more about the program and how it works.
  5.  
  6. -- Old DKB...
  7.  
  8. The original ray-tracing program was called DKBTrace. It was then upgraded to PvRay.
  9. The Macintosh version of DKBTrace was written in MPW. It was a very simple shell slapped onto DKBTrace to simulate command lines (just say no....) and a few Macintosh specifics.
  10. If you used the Mac version of DKBTrace, you will notice that the front end to PvRay looks nearly identical. Well.. that's because it is... I assimilated PvRay & the Mac version of DKBTrace, then updated it to work with Think C 5.0. Along the way I tossed in a few new additions, and speed some things up. If you haven't read the PvRay Docs, I suggest you do so now (or keep them handy to refer to). I have also included the original documentation to the MPW version of DKBTrace for even more confusion :)
  11.  
  12. -- New & Improved...
  13.  
  14. There are a few added/updated menu changes to the original version of DKBTrace, so I
  15. will explain each one (to hopefully clearify things...)
  16.  
  17. -The Apple Menu
  18.     Contains "About PvRay"... spits out some text about the authors, the command line parameters, then exits.... <See "Old & Annoying" below..>
  19.  
  20. -The File Menu
  21.     -Trace
  22.         This calls up the dialog box in which you enter the pertinent information
  23.         to be changed into a command line to be passed to the actual ray-tracer.
  24.         Much of it is pretty straight-forward. If you are confused about an
  25.         item, refer to the PcRay Docs & the DKBTrace documentation.
  26.     -Abort
  27.         Only allowed while a trace is running.
  28.     -Dump -> Pict
  29.         Creates a PICT file of the plotted window when the trace is finished or
  30.         it is aborted (PvRay's only output formats are "Dump/QRT, Raw, and Targa"
  31.         ** NOTE : The routine to convert the "Dump" file in a low memory condition
  32.             is not completely tested.... It may &&crash&&! Use this _only_ if you
  33.             have "enough" memory allocated to PvRay (more below in "Memory").
  34.         ** NOTE : This routine is a "back-end" to PvRay... it will still create an
  35.             output file (kind of like a write-through). Don't worry about losing
  36.             a 4-day ray-trace if Dump -> Pict crashes.. you will still be able to
  37.             "Resume" with the original output file!
  38.     -Convert DKB -> PV
  39.         Will convert old DKBTrace .dat files to PvRay .dat files when a trace is
  40.         executed.
  41.         
  42. -The Edit Menu
  43.     For DAs only!
  44.     
  45. -The MacOptions Menu
  46.     -Dither
  47.         Will automatically be selected if you are not working in >16-bit color.       Will take the saved image in memory and dither it when a display "update" occurs (i.e. the window was overlapped or a certain amount of time has passed).
  48.     -Show Pixels
  49. Toggling this option on or off will speed up PvRay by allowing it to continue to process the ray-trace without having to show each and every pixel. It will still "update" the screen (redraw itself) every so often.
  50.     -24-Bit AntiAlias
  51.         A small development note here... when PvRay sends a pixel to the Mac front
  52.         end to plot, it's ranges on the Red, Green, and Blue are from 0->127. The
  53.         Mac can display 0->256, so the images used to look very dark, and all of
  54.         the Pixel information was jammed down at the bottom end of the scale.           PvRay for the Mac takes care of that by simply multiplying the received pixel color by 2. With this option toggled, it will add the previous pixel to the current one, thereby "alais"ing the current pixel. This also results in a slightly blurry output (which looks best on "ethreal" plots....) The best way to
  55. experiment with the option is to plot it with it on, then turn the option off
  56. (it defaults to AntiAliasing) and do a "resume" (which re-reads the output file and redraws the display).
  57.     -Background Friendly
  58.         This option will give background processes a ton of CPU time to play with.
  59.         Turn this option off for maximum speed & "hogginess".
  60.     -Shutdown after completion
  61.         Pretty self-explanitory.
  62.         ** NOTE : This option was a quick hack I added after receiving a noisy
  63.             removable drive. I doesn't look like it calls the regular "ShutDown"
  64.             functions (i.e. FileSavers, etc...) it _does_ flush the current volume
  65.             (_not_ other ones!). Use this at your own risk!
  66.             
  67. -- Memory
  68.     PvRay requires a _lot_ of memory... at least 2 megs. for a plot with updating.
  69. If you have less, you will be able to create output files, and see a very
  70. strange looking stretched update in the plotting window. You will have to
  71. use the "Dump->Pict" menu option in a low memory condition that isn't really
  72. guarenteed to work. If the program crashes a lot, up the memory!
  73.     
  74. -- Old & Annoying...
  75.     There are a _lot_ of things I would like to change about the front end slapped
  76. onto PvRay, but it has taken me quite a while to simply convert it over. One
  77. of the biggest changes I would like to make is the ugly text windows & text
  78. output files "PvRay.err" & "PvRay.output" it creates. The "About PvRay" is
  79. also extremely annoying (especially if you have "pause" turned off!) There also
  80. seems to be a problem updating the settings inbetween sessions, I am working
  81. on debugging that along with a few other routines... I am also interested in
  82. writing the front-end in a more configurable way (i.e. very low memory, etc....)
  83.     
  84. If there is enough interest & feedback generated, I will continue
  85. to work on the Mac front-end to PvRay.. otherwise.... :)
  86.     
  87. -- Wrapping up...
  88.     I included a couple of my own quick ray-traces to play around with... have fun ray-tracing! PvRay is an incredible program, and it's portability is one of a kind! If you find any bugs (and you probably will...) _please_ report them to
  89. me somehow! If you can break it down into one of the two categories [1] Front End and [2] PvRay I would appreciate it! It will make updating much easier (since I can forward messages to the creators of the core code).
  90.     
  91.     Good Luck!
  92.     
  93. -- Version History
  94.     { The numbers before the 'd' will signify PvRay's version. The numbers after
  95.     the 'd' will signify the Mac version. }
  96.  
  97.     0.5d1    First version of PvRay & the Mac front-end.
  98.     
  99.     
  100. *        Glenn Sugden
  101. *        570 Summer Dr.
  102. *        Hollister, CA. 95023-3443
  103. *        (408)-636-4619
  104. *        Compuserve:74730,1130
  105. *        America Online:Skydiver0
  106.  
  107.     
  108.